<?php
/**
 * 打折数据获取
 * @author Ice <iceinto@mallog.com.cn>
 */
class DiscountModel extends BaseModel
{
    /**
     * 获取商场打折资讯
     * @param $mid
     * @return mixed
     * @author Ice <iceinto@mallog.com.cn>
     */
    public function getMallDis($mid)
    {
        $map = array();
        $map['fid'] = 0;
        $map['bid'] = 0;
        $map['mid'] = $mid;
        return $this->where($map)->find();
    }
}

?>